New Functions in Week 9

names

{base}

Retrieve names of a list/vector

confint

{stats}

Calculate confidence Intervals for Model Parameters

subset

{base}

Return subsets of vectors, matrices or data frames which meet conditions.

ylab

{GGPLOT2}

Label the y axis (ggplot)

recode

{dplyr}

Recode a variable

read.csv

{utils}

Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters

rm

{base}

Remove objects

xlab

{GGPLOT2}

Label the x axis (ggplot)

log

{base}

log (default base = e)

droplevels

{base}

Drop Unused Levels from Factors

ls

{base}

Return a vector of character strings giving the names of the objects in the specified environment

is.element

{base}

Check if a value is element of a vector

relevel

{stats}

Reorder Levels of Factor

prop.table

{base}

Transform frequency table into table of proportions

levels

{base}

Get levels of a factor

The end!